]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-global: remove shell_global_gc()
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 13 Jul 2012 00:01:21 +0000 (20:01 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 13 Jul 2012 00:11:39 +0000 (20:11 -0400)
It's unused now.

https://bugzilla.gnome.org/show_bug.cgi?id=679832

src/shell-global.c
src/shell-global.h

index f467e348410b352729cb7025014f7898b7414b41..bb32a01c07f8d812411f8090b409b3f127323781 100644 (file)
@@ -1191,21 +1191,6 @@ shell_global_reexec_self (ShellGlobal *global)
   g_ptr_array_free (arr, TRUE);
 }
 
-/**
- * shell_global_gc:
- * @global: A #ShellGlobal
- *
- * Start a garbage collection process.  For more information, see
- * https://developer.mozilla.org/En/JS_GC
- */
-void
-shell_global_gc (ShellGlobal *global)
-{
-  JSContext *context = gjs_context_get_native_context (global->js_context);
-
-  JS_GC (context);
-}
-
 static void
 shell_global_on_gc (GjsContext   *context,
                     ShellGlobal  *global)
index 1c25c04530cdb88393170e405908ada83107d575..b73183825ae3bd6e0b747f19597cc70e1611674c 100644 (file)
@@ -84,10 +84,6 @@ void    shell_global_get_pointer             (ShellGlobal         *global,
                                               int                 *y,
                                               ClutterModifierType *mods);
 
-
-/* JavaScript utilities */
-void     shell_global_gc                   (ShellGlobal *global);
-
 typedef struct {
   guint glibc_uordblks;